package com.bgs.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 * 家庭成员表
 * </p>
 *
 * @author cui
 * @since 2022-05-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Family对象", description="家庭成员表")
public class Family {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    private Integer fid;

    @ApiModelProperty(value = "成员姓名")
    private String fname;

    @ApiModelProperty(value = "关系")
    private String relationship;

    @ApiModelProperty(value = "工作单位")
    private String unit;

    @ApiModelProperty(value = "职位")
    private String position;

    @ApiModelProperty(value = "出生日期")
    private Date fbirthday;

    @ApiModelProperty(value = "手机号码")
    private String fphone;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "创建日期")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改日期")
    private LocalDateTime updateTme;

    @ApiModelProperty(value = "是否删除（1是0否）")
    private Integer isDel;

    @ApiModelProperty(value = "职工主键id")
    private Integer userId;


}
